<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>6.数组的filter方法</title>
  </head>
  <body>
    <script type="text/javascript" >
      let arr = [1,3,5,7,9]
      const result = arr.filter(item => item > 3 )
      console.log(result)

    </script>
  </body>
</html>